<template>
	<view class="wrap">
		<u-parse :content="detailInfo"></u-parse>
	</view>
</template>

<script>
const app = getApp()
export default {
	data() {
		return {
			imgUrl: app.globalData.ossUrl,
			detailInfo: ''
		}
	},
	onLoad(options) {
		this.getInfo(options.id)
	},
	methods: {
		getInfo(id) {
			uni.showLoading({ title: '数据加载中' })
			/* prettier-ignore */
			this.$https(false, 'get', {
					url: '/race/focus/content/'+id
				}, (res) => {
					this.detailInfo = res.data
				})
			/* prettier-ignore */
		}
	}
}
</script>

<style lang="scss" scoped>
.wrap {
	padding: 20rpx 32rpx;
	position: relative;
}
</style>
<style lang="scss">
page {
	background: #fff;
}
</style>
